package com.vpx.server.service.system;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.vpx.server.bean.entity.Project;
import com.vpx.server.bean.order.base.BaseDelOrder;
import com.vpx.server.bean.order.base.BaseIdStrOrder;
import com.vpx.server.bean.order.system.ProjectOrder;
import com.vpx.server.bean.order.system.ProjectPageOrder;
import com.vpx.server.bean.result.system.ProjectPageResult;
import com.vpx.server.bean.result.system.ProjectResult;
import com.vpx.server.framework.base.ResultMsg;

/**
 * @Description
 * @Author PC
 * @Date 2023/11/18 16:23
 **/
public interface ProjectService extends IService<Project> {

    ResultMsg saveProject(ProjectOrder order);

    ResultMsg deleteById(BaseDelOrder order);

    ResultMsg updateProjectById(ProjectOrder order);

    ResultMsg<ProjectResult> selectProjectById(BaseIdStrOrder order);

    ResultMsg<ProjectPageResult> pageQueryProject(ProjectPageOrder order);
    JSONObject getProjectInfo(String projectId);
}
